package com.localcache.server.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * netty 配置
 *
 * @author chennengcheng
 * @date 2021-09-13 11:37
 * @remark
 */

@Configuration
public class CacheReportServerConfig {

    @Value("${server.port}")
    private Integer serverPort;

    @Value("${dlc.server.port}")
    private Integer dlcServerPort;

    public Integer getServerPort() {
        return serverPort;
    }

    public void setServerPort(Integer serverPort) {
        this.serverPort = serverPort;
    }

    public Integer getDlcServerPort() {
        return dlcServerPort;
    }

    public void setDlcServerPort(Integer dlcServerPort) {
        this.dlcServerPort = dlcServerPort;
    }
}
